package com.example.demo.service.proxy;

import com.example.demo.annotation.PreDataProxy;
import com.example.demo.common.SearchParam;
import com.example.demo.dao.UserMapper;
import com.example.demo.entity.User;
import com.example.demo.proxy.DataProxy;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

@Service
public class UserProxy implements DataProxy<User> {

    @Override
    public int save(User entity) {
        return 0;
    }

    @Override
    public List<User> list(SearchParam<User> searchParam) {
        return null;
    }

    @Override
    public List<User> download(SearchParam<User> searchParam, HttpServletResponse response) {
        return null;
    }

    @Override
    public List<User> upload(String model, MultipartFile file) {
        return null;
    }

    @Override
    public int update(User entity) {
        return 0;
    }

    @Override
    public void delete(List<Long> ids) {

    }

    @Override
    public User get(Long id) {
        return null;
    }
}
